package com.gitee.jjnnzb.designpatterninspring.business.openapi.entity.bo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

/**
 * @author Jjn
 * @since 2023/8/10 19:27
 */
@Data
@NoArgsConstructor
public class FileParam {
    
    @Schema(description = "文件存储路径")
    @Length(max = 100, message = "文件存储路径不能超过{max}字符")
    private String filePath;
    
    @Schema(description = "文件名")
    @Length(max = 100, message = "文件名称不能超过{max}字符")
    private String fileName;
}
